{tasks.map(task => (
  <div key={task.id}>
    <h3>{task.title}</h3>
    <p>类别: {task.category.name}</p>
    <p>标签: {task.tags.map(tag => <span key={tag.id}>{tag.name}</span>)}</p>
  </div>
))} 